package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 模板表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-21 18:11:05
 */
@Data
@TableName("formwork")
public class FormworkEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    public static String CN_ID = "id";
    public static String CN_NAME = "name";
    public static String CN_TYPE = "type";

    /**
     * 模板id
     */
    @TableId
    private Integer id;
    /**
     * 模板名称
     */
    private String name;
    /**
     * 模板分类
     */
    private Integer type;

    public FormworkEntity() {
    }

    public FormworkEntity(String name, Integer type) {
        this.name = name;
        this.type = type;
    }
}
